# -*- coding: utf-8 -*-
# @File  : main.py
# @Author:  liubinyu
# @Time: 2024/5/19 11:14

from fastapi import FastAPI
import uvicorn
from apps import app01, app02

app = FastAPI()
# 路由分发
app.include_router(app01, prefix="/app01", tags=["第一章节：商城接口", ])
app.include_router(app02, prefix="/app02", tags=["第二章节：用户中心接口", ])

if __name__ == '__main__':
    uvicorn.run("main:app", host="127.0.0.1", port=8080, reload=True)